package com.go.where.family.service;

import java.util.List;
import java.util.Map;

import com.go.where.family.pojo.MessageInfo;
import com.go.where.family.pojo.MsgCustomerRelation;

public interface MessageService {

	/**
	 * 分页查询
	 * 
	 * @param map
	 * @return
	 */
	public List<MessageInfo> queryList(Map<String, Object> map);

	/**
	 * 详情查询
	 * 
	 * @param messageId
	 * @return
	 */
	public MessageInfo queryMessageDetail(String messageId);

	/**
	 * 删除消息与客户的关联关系
	 * 
	 * @param msgCustomerRelation
	 * @return
	 */
	public int deleteMessageRelation(MsgCustomerRelation msgCustomerRelation);

}
